package com.ayun.base;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 斌叔
 * @description: TODO
 * @create 2022-05-08 11:39
 */
@Getter
@AllArgsConstructor
public enum ResultEnum {

    // 成功
    SUCCESS(2000, "成功"),
    // 错误
    ERROR(999, "错误");

    private Integer code;
    public String desc;
}

